home *** CD-ROM | disk | FTP | other *** search
/ Fish With Names Like... / Fish With Names Like... 2.5.iso / pc / Media / Fishsp.dir / 00001_Main Script.ls next >
Encoding:
Text File  |  2004-04-27  |  3.7 KB  |  151 lines

  1. on soundCheck
  2.   if soundBusy(1) then
  3.     go(#loop)
  4.   end if
  5. end
  6.  
  7. on setcursor
  8.   set the cursor of sprite 1 to -1
  9.   set the cursor of sprite 26 to -1
  10.   set the cursor of sprite 28 to -1
  11.   set the cursor of sprite 33 to -1
  12.   set the cursor of sprite 5 to [2, 3]
  13.   set the cursor of sprite 6 to [2, 3]
  14.   set the cursor of sprite 7 to [2, 3]
  15.   set the cursor of sprite 8 to [2, 3]
  16.   set the cursor of sprite 9 to [2, 3]
  17.   set the cursor of sprite 10 to [2, 3]
  18.   set the cursor of sprite 11 to [2, 3]
  19.   set the cursor of sprite 12 to [2, 3]
  20.   set the cursor of sprite 13 to [2, 3]
  21.   set the cursor of sprite 14 to [2, 3]
  22.   set the cursor of sprite 15 to [2, 3]
  23.   set the cursor of sprite 16 to [2, 3]
  24.   set the cursor of sprite 17 to [2, 3]
  25.   set the cursor of sprite 18 to [2, 3]
  26.   updateStage()
  27. end
  28.  
  29. on indexCursor
  30.   set the cursor of sprite 1 to -1
  31.   set the cursor of sprite 5 to [2, 3]
  32.   set the cursor of sprite 6 to [2, 3]
  33.   set the cursor of sprite 7 to [2, 3]
  34.   set the cursor of sprite 8 to [2, 3]
  35.   set the cursor of sprite 9 to [2, 3]
  36.   set the cursor of sprite 10 to [2, 3]
  37.   set the cursor of sprite 11 to [2, 3]
  38.   set the cursor of sprite 12 to [2, 3]
  39.   set the cursor of sprite 13 to [2, 3]
  40.   set the cursor of sprite 14 to [2, 3]
  41.   set the cursor of sprite 15 to [2, 3]
  42.   set the cursor of sprite 16 to [2, 3]
  43.   set the cursor of sprite 17 to [2, 3]
  44.   set the cursor of sprite 18 to [2, 3]
  45.   set the cursor of sprite 19 to [2, 3]
  46.   set the cursor of sprite 20 to [2, 3]
  47.   set the cursor of sprite 21 to [2, 3]
  48.   set the cursor of sprite 22 to [2, 3]
  49.   set the cursor of sprite 23 to [2, 3]
  50.   set the cursor of sprite 24 to [2, 3]
  51.   set the cursor of sprite 25 to [2, 3]
  52.   set the cursor of sprite 26 to [2, 3]
  53.   set the cursor of sprite 27 to [2, 3]
  54.   set the cursor of sprite 28 to [2, 3]
  55.   set the cursor of sprite 29 to [2, 3]
  56.   set the cursor of sprite 30 to [2, 3]
  57.   set the cursor of sprite 31 to [2, 3]
  58.   set the cursor of sprite 32 to [2, 3]
  59.   set the cursor of sprite 33 to [2, 3]
  60.   set the cursor of sprite 34 to [2, 3]
  61.   set the cursor of sprite 35 to [2, 3]
  62.   set the cursor of sprite 36 to [2, 3]
  63.   set the cursor of sprite 37 to [2, 3]
  64.   set the cursor of sprite 38 to [2, 3]
  65.   set the cursor of sprite 39 to [2, 3]
  66.   set the cursor of sprite 40 to [2, 3]
  67.   set the cursor of sprite 41 to [2, 3]
  68.   set the cursor of sprite 42 to [2, 3]
  69.   set the cursor of sprite 43 to [2, 3]
  70.   set the cursor of sprite 44 to [2, 3]
  71.   updateStage()
  72. end
  73.  
  74. on otherFish
  75.   go("Others")
  76. end
  77.  
  78. on goBackground
  79.   set the volume of sound 1 to 0
  80.   sprite(48).visible = 1
  81.   sprite(28).visible = 0
  82. end
  83.  
  84. on bgdOff
  85.   set the volume of sound 1 to 255
  86.   sprite(48).visible = 0
  87.   sprite(28).visible = 1
  88. end
  89.  
  90. on voiceOff
  91.   puppetSprite(11, 1)
  92.   if the castNum of sprite 11 = 22 then
  93.     set the memberNum of sprite 11 to 24
  94.     noVoice()
  95.   else
  96.     set the memberNum of sprite 11 to 22
  97.     withVoice()
  98.   end if
  99.   updateStage()
  100. end
  101.  
  102. on noVoice
  103.   set the volume of sound 1 to 15
  104. end
  105.  
  106. on withVoice
  107.   set the volume of sound 1 to 255
  108. end
  109.  
  110. on startVisibles
  111.   sprite(11).visible = 1
  112.   sprite(48).visible = 0
  113. end
  114.  
  115. on visible
  116.   if sprite(9).visible = 1 then
  117.     sprite(9).visible = 0
  118.   else
  119.     sprite(9).visible = 1
  120.   end if
  121.   updateStage()
  122. end
  123.  
  124. on raiseAllSound
  125.   set the volume of sound 2 to 255
  126. end
  127.  
  128. on lowerSound
  129.   set the volume of sound 2 to 80
  130. end
  131.  
  132. on click downSound, upSound
  133.   if stringp(downSound) then
  134.     puppetSound(downSound)
  135.   end if
  136.   this = the castNum of sprite the clickOn
  137.   set the castNum of sprite the clickOn to this + 1
  138.   updateStage()
  139.   repeat while the stillDown or soundBusy(1)
  140.   end repeat
  141.   if stringp(upSound) then
  142.     puppetSound(upSound)
  143.   end if
  144.   set the castNum of sprite the clickOn to this
  145.   updateStage()
  146.   repeat while soundBusy(1)
  147.   end repeat
  148.   puppetSound(0)
  149.   updateStage()
  150. end
  151.